<!doctype html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta charset="gb2312">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta http-equiv="X-UA-Compatible" content="IE=dege" />
    <meta name="format-detection" content="telephone=no" />
    <title>阳光大姐家政培训平台</title>
    <link rel="stylesheet" href="css/bootstrap.min.css" />
    <link rel="stylesheet" href="css/swiper.min.css" />
    <link rel="stylesheet" href="css/animate.min.css" />
    <link href="images/favicon.ico" rel="icon" type="images/x-icon">
    <link rel="stylesheet" href="css/reset.css">
    <link rel="stylesheet" href="css/headfoot.css" />
    <link rel="stylesheet" href="css/dyf.css">
    <script src="js/jquery-1.11.3.min.js"></script>
    <script src="js/swiper.jquery.min.js"></script>
    <script src="js/index.js"></script>
    <script src="js/bootstrap.min.js"></script>
    <script src="js/wow.min.js"></script>
    <!--[if lt IE 9]>
    <script src="js/html5shiv.min.js"></script>
    <script src="js/respond.min.js"></script>
    <![endif]-->
    <script>
        if (!(/msie [6|7|8|9]/i.test(navigator.userAgent))) {
            new WOW().init();
        }
    </script>
</head>

<body>
<div class="return">
    <div class="return-title">
        <div class="in">
            <h1>重置密码</h1>
        </div>
    </div>
    <div class="in">
        <div class="return-conts">
            <div class="step">
                <ul>
                    <li class="col-xs-4 on">
                        <span class="num"><em class="f-r5"></em><i>1</i></span>
                        <span class="line_bg lbg-r"></span>
                        <p class="lbg-txt">验证身份</p>
                    </li>
                    <li class="col-xs-4">
                        <span class="num"><em class="f-r5"></em><i>2</i></span>
                        <span class="line_bg lbg-l"></span>
                        <span class="line_bg lbg-r"></span>
                        <p class="lbg-txt">重置登录密码</p>
                    </li>
                    <li class="col-xs-4">
                        <span class="num"><em class="f-r5"></em><i>3</i></span>
                        <span class="line_bg lbg-l"></span>
                        <p class="lbg-txt">重置成功</p>
                    </li>
                </ul>
            </div>
            <div class="return-cz">
                <ul>
                    <li>
                        <label for="">手机号：</label> <input type="text" name="phone" value="17610837228">
                    </li>
                    <li>
                        <label for="">验证码：</label> <input name="yzm" type="text" placeholder="请输入验证码"> <button class="sendmessag">点击获取验证码</button>
                    </li>
                    <li class="return-btn">
                        <a href="?c=h&amp;a=zzmmerbu" class="xiayibu">下一步</a>
                    </li>
                    <script type="text/javascript">
                        $(".xiayibu").click(function(e){
                            e.preventDefault();
                            var yzm = $("[name='yzm']").val();
                            if(yzm == ''){
                                alert("请输入验证码！");
                                return false;
                            }
                            $.ajax({
                                cache : "FALSE",
                                type : "POST",
                                url : "?c=h&a=ajax_yzm",
                                dataType : "json",
                                data : {
                                    "yzm" : yzm
                                },
                                timeout : 15000,
                                success : function (json) {
                                    if (json.success == 0) {
                                        alert("验证码错误! ");
                                        return false;
                                    }else {
                                        window.location.href='?c=h&a=zzmmerbu';
                                        return true;
                                    }
                                } //success
                            }); //ajax

                        });

                    </script>
                </ul>
            </div>
        </div>
    </div>
</div>
</body>

</html>